declare var manifest: DreamSpace.Scripts.Plugin.$Type;

// #######################################################################################

/** Twitter related plugins. */
module DreamSpace.Scripts.Modules.Twitter {

    // ===================================================================================

    /** The Twitter Bootstrap JS module (the Bootstrap script file only, nothing more). 
    */
    export var Bootstrap = module([JQuery], 'bootstrap{min:.min}', '~js/', (modInfo) => {
        return true;
    });

    // ===================================================================================

    /** DreamSpace support for Twitter's Bootstrap based UI design.  This module extends the DreamSpace GraphItem to implement the Bootstrap module.
    * Note: As with most DreamSpace graph objects, the objects are "logical" elements, and thus, a visual layout environment (eg. browser) is not required.
    */
    export var Bootstrap_UI = module([System.UI_HTML, Cubiq_org, Ilinsky], 'DreamSpace.UI.Bootstrap{min:.min}', null, (modInfo) => {
        $DSLoader.onModulesLoaded.addListener(() => {
            using(Bootstrap, false, null);
        });
        return true;
    }); // (some functionality of the bootstrap UI uses jquery)
    // (note: this is only dependent on the CSS, and has no actual script related dependencies; also note: bootstrap.js must always be loaded LAST [after the app] for event hook-up.)

    // ===================================================================================
}

// #######################################################################################
